import React from 'react';
import ReactDom from 'react-dom'
import AppleBasket from './components/AppleBasket'
import { RootStore, RootStoreProvider } from './store/RootStore';

const rootStore = new RootStore()

ReactDom.render(
    <RootStoreProvider store={rootStore}>
        <AppleBasket />
    </RootStoreProvider>,
    document.getElementById('app')
);